package com.starlink.model.vo.book;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/4/9 17:17
 * @Description: MallArticlesVO
 * @Version 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城-立即购买商品信息响应模型")
public class MallArticlesVO {
    @ApiModelProperty("商品ID")
    private Long articlesId;
    @ApiModelProperty("运费模板ID")
    private Long freeTemplateId;
    @ApiModelProperty("商品名称")
    private String title;
    @ApiModelProperty("商品类别 1书籍 2周边")
    private Integer articlesCategory;
    @ApiModelProperty("商品图片")
    private String picture;
    @ApiModelProperty("商品规格")
    private String specification;
    @ApiModelProperty("商品数量")
    private Integer quantity;
    @ApiModelProperty("商品价格")
    private BigDecimal price;

}
